
import java.awt.Color;
import javax.swing.JButton;
import javax.swing.JMenuItem;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author Dorothy
 */
public class HomePage extends javax.swing.JFrame {

    /**
     * Creates new form HomePage
     */
    public HomePage() {
        getContentPane().setBackground(Color.BLACK);
        initComponents();
    }
    /**
     * 
     * @return ADDEMP, ADDRES, ADDSUITES, DELETEMP,DELETERES,DELETESUITES,
     * EXPORT,LISTALL,LISTEMP,LISTRES,LISTSUITE,MODIFYEMP,MODIFYRES,SEARCH
     */
     public JButton getLoginNum(){
        return login;
    }
      public JButton gETBILL(){
        return BILL;
    }
    
    
    public JButton getEXPORT(){
        return EXPORT;
    }
   
    public JButton getLISTALL(){
        return LISTALL;
    }
  
    public JButton getSEARCH(){
        return SEARCH;
    }
    
    /**
     * 
     * @return ADDBOOKINGMENU,DELETEBOOKINGMENU,ADDROOMMENU,DELETEEMPMENU,DELETEROOMMENU
     * EDITBOOKINGMENU,EDITEMPMENU,LISTBOOKINGMENU,LISTEMPMENU,LISTROOMMENU,ADDING
     */
    
    public JMenuItem getADDBOOKINGMENU(){
    return ADDBOOKINGMENU;
    }
    public JMenuItem getDELETEBOOKINGMENU(){
    return DELETEBOOKINGMENU;
    }
    public JMenuItem getADDROOMMENU(){
    return ADDROOMMENU;
    }
    public JMenuItem getDELETEEMPMENU(){
    return DELETEEMPMENU;
    }
    public JMenuItem getDELETEROOMMENU(){
    return DELETEROOMMENU;
    }
    public JMenuItem getEDITBOOKINGMENU(){
    return EDITBOOKINGMENU;
    }
    public JMenuItem getEDITEMPMENU(){
    return EDITEMPMENU;
    }
    public JMenuItem getLISTBOOKINGMENU(){
    return LISTBOOKINGMENU;
    }
    public JMenuItem getLISTEMPMENU(){
    return LISTEMPMENU;
    }
    public JMenuItem getLISTROOMMENU(){
    return LISTROOMMENU;
    }
    public JMenuItem getBILLMENU(){
    return CheckBill;
    }
    public JMenuItem getPRINT(){
    return print;
    }
    
    public JMenuItem getADDING(){
    return ADDING;
    }
   

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jTextField1 = new javax.swing.JTextField();
        jProgressBar1 = new javax.swing.JProgressBar();
        EXPORT = new javax.swing.JButton();
        SEARCH = new javax.swing.JButton();
        LISTALL = new javax.swing.JButton();
        jLabel4 = new javax.swing.JLabel();
        BILL = new javax.swing.JButton();
        login = new javax.swing.JButton();
        menubar = new javax.swing.JMenuBar();
        ADDEMPMENU = new javax.swing.JMenu();
        ADDING = new javax.swing.JMenuItem();
        EDITEMPMENU = new javax.swing.JMenuItem();
        DELETEEMPMENU = new javax.swing.JMenuItem();
        LISTEMPMENU = new javax.swing.JMenuItem();
        SUITEMENU = new javax.swing.JMenu();
        ADDROOMMENU = new javax.swing.JMenuItem();
        DELETEROOMMENU = new javax.swing.JMenuItem();
        LISTROOMMENU = new javax.swing.JMenuItem();
        RESMENU = new javax.swing.JMenu();
        ADDBOOKINGMENU = new javax.swing.JMenuItem();
        EDITBOOKINGMENU = new javax.swing.JMenuItem();
        DELETEBOOKINGMENU = new javax.swing.JMenuItem();
        LISTBOOKINGMENU = new javax.swing.JMenuItem();
        BillMenu = new javax.swing.JMenu();
        CheckBill = new javax.swing.JMenuItem();
        print = new javax.swing.JMenuItem();

        jTextField1.setText("jTextField1");

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        EXPORT.setText("EXPORT");

        SEARCH.setText("SEARCH");

        LISTALL.setText("LIST RESERVATIONS");

        jLabel4.setIcon(new javax.swing.ImageIcon("C:\\Users\\Dorothy\\Documents\\NetBeansProjects\\comfort-hub\\homepage.jpg")); // NOI18N

        BILL.setText("BILL");

        login.setText("DAILY LOG INS");

        menubar.setBackground(new java.awt.Color(153, 102, 0));
        menubar.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(153, 102, 0)));
        menubar.setForeground(new java.awt.Color(153, 102, 0));

        ADDEMPMENU.setText("Employees");

        ADDING.setText("Add Employee");
        ADDEMPMENU.add(ADDING);

        EDITEMPMENU.setText("Edit Employee Details");
        ADDEMPMENU.add(EDITEMPMENU);

        DELETEEMPMENU.setText("Delete Employee");
        ADDEMPMENU.add(DELETEEMPMENU);

        LISTEMPMENU.setText("List Employees");
        ADDEMPMENU.add(LISTEMPMENU);

        menubar.add(ADDEMPMENU);

        SUITEMENU.setText("Rooms");

        ADDROOMMENU.setText("Add Room");
        SUITEMENU.add(ADDROOMMENU);

        DELETEROOMMENU.setText("Delete Room");
        SUITEMENU.add(DELETEROOMMENU);

        LISTROOMMENU.setText("List Rooms");
        SUITEMENU.add(LISTROOMMENU);

        menubar.add(SUITEMENU);

        RESMENU.setText("Reservations");

        ADDBOOKINGMENU.setText("Add Booking");
        RESMENU.add(ADDBOOKINGMENU);

        EDITBOOKINGMENU.setText("Edit Bookings");
        RESMENU.add(EDITBOOKINGMENU);

        DELETEBOOKINGMENU.setText("Delete Booking");
        RESMENU.add(DELETEBOOKINGMENU);

        LISTBOOKINGMENU.setText("List Bookings");
        RESMENU.add(LISTBOOKINGMENU);

        menubar.add(RESMENU);

        BillMenu.setText("Billings");

        CheckBill.setText("Prepare Bill");
        BillMenu.add(CheckBill);

        print.setText("Print Bill");
        BillMenu.add(print);

        menubar.add(BillMenu);

        setJMenuBar(menubar);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(74, 74, 74)
                        .addComponent(jLabel4))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(139, 139, 139)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(EXPORT, javax.swing.GroupLayout.PREFERRED_SIZE, 295, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(SEARCH, javax.swing.GroupLayout.PREFERRED_SIZE, 295, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(LISTALL, javax.swing.GroupLayout.PREFERRED_SIZE, 295, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(BILL, javax.swing.GroupLayout.PREFERRED_SIZE, 295, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(login, javax.swing.GroupLayout.PREFERRED_SIZE, 295, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap(106, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(SEARCH)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(EXPORT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(LISTALL)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(BILL)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(login)
                .addContainerGap(21, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(HomePage.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(HomePage.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(HomePage.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(HomePage.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new HomePage().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenuItem ADDBOOKINGMENU;
    private javax.swing.JMenu ADDEMPMENU;
    private javax.swing.JMenuItem ADDING;
    private javax.swing.JMenuItem ADDROOMMENU;
    private javax.swing.JButton BILL;
    private javax.swing.JMenu BillMenu;
    private javax.swing.JMenuItem CheckBill;
    private javax.swing.JMenuItem DELETEBOOKINGMENU;
    private javax.swing.JMenuItem DELETEEMPMENU;
    private javax.swing.JMenuItem DELETEROOMMENU;
    private javax.swing.JMenuItem EDITBOOKINGMENU;
    private javax.swing.JMenuItem EDITEMPMENU;
    private javax.swing.JButton EXPORT;
    private javax.swing.JButton LISTALL;
    private javax.swing.JMenuItem LISTBOOKINGMENU;
    private javax.swing.JMenuItem LISTEMPMENU;
    private javax.swing.JMenuItem LISTROOMMENU;
    private javax.swing.JMenu RESMENU;
    private javax.swing.JButton SEARCH;
    private javax.swing.JMenu SUITEMENU;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JProgressBar jProgressBar1;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JButton login;
    private javax.swing.JMenuBar menubar;
    private javax.swing.JMenuItem print;
    // End of variables declaration//GEN-END:variables
}
